diff options
| author | Adam Soltys <[email protected]> | 2022-11-09 11:18:38 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-09 11:18:38 -0800 |
| commit | c901b229121ee74b4a1a8794ca7578d9cfea0055 (patch) | |
| tree | bb8192035e7076ffae126a6596088d96402768a4 /src/routes/(app)/[username]/support/+page.server.js | |
| parent | 305f26ccefffe52b3fb65995e8caf437f1a92057 (diff) | |
| download | coinos-ui-c901b229121ee74b4a1a8794ca7578d9cfea0055.tar.gz coinos-ui-c901b229121ee74b4a1a8794ca7578d9cfea0055.zip | |
fix support form
Diffstat (limited to 'src/routes/(app)/[username]/support/+page.server.js')
| -rw-r--r-- | src/routes/(app)/[username]/support/+page.server.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/routes/(app)/[username]/support/+page.server.js b/src/routes/(app)/[username]/support/+page.server.js deleted file mode 100644 index a335ec96..00000000 --- a/src/routes/(app)/[username]/support/+page.server.js +++ /dev/null @@ -1,13 +0,0 @@ -export const actions = { - default: async ({ cookies, request }) => { - let form = Object.fromEntries(await request.formData()); - - try { - await post('/email', form); - } catch (e) { - return invalid(400, { failed: true }); - } - - return { success: true }; - } -}; |
